<style>
.align_middle{margin-top:12px; }
</style>	
	<div class="right_side_title right align_middle">
		 <?php 
		 $user=$session->read('User');
		 if($user['isadmin']||$user['isvisitor']){
			$grouplist=array_merge(array(""=>"请选择模块"),$grouplist);
	    	echo $form->select('ddlgroup',$grouplist,$group_mod_id, null,null);
		 }
	     ?>
	</div>  
<?php 



?>	
	
	
	<script>
$(document).ready(function() {
	$("#ddlgroup").change(function(){
		searchtech();
		});

});

function searchtech()
{
	var str1=new Array();
	var str2=new Array();
	var url_before=window.location.href;
	str1=url_before.split('searchs/');
	str2=str1[1].split('?');
	var webpath=$("#getpath").attr('href');
	var urlpath=webpath+"searchs/"+str2[0]+"?seach=all";
	var group=$("#ddlgroup").val();
	
	if(group==""){
		location.href=urlpath;
	}else{
		if(group!=""){
			urlpath+="&group="+group;
			}
		location.href=urlpath;
	}
	return false;

	}

</script>

	